package cn.billho.popcache.core.codec;

import java.lang.reflect.Type;

public interface ISerialize {

    <T> T  deserialize(String val, Class<T> clz);

    Object deserialize(String value, Type returnType, Class<?>... origins);

    String serialize(Object val);
}
